// let arr: number[] = [3, 4, 2]

// import * as path from 'path'
// console.log('path: ', path)
interface Person {
  firstname: string
  lastname: string
}
const a = (person: Person) => {
  console.log('person: ', person)
}

class Student {
  firstname: string
  lastname: string
  constructor(person: Person) {
    this.firstname = person.firstname
    this.lastname = person.lastname
  }
}

let u = new Student({
  firstname: '齐',
  lastname: '秦',
})

console.log(a(u))
